package cn.linshu.security.jwt.service;

import cn.linshu.security.jwt.entity.SysTokenUser;
import cn.linshu.security.jwt.service.impl.SysUserDetails;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Optional;

/**
 * -*- coding: utf-8 -*-
 *
 * @Author linnin
 * @Name springboot3-labs-master
 * @Time 2025/2/5 21:13
 * @Note
 * @For
 * @Out Copyright© 2025 linnin
 */

/* coding: utf-8 */

public interface SysTokenUserService extends IService<SysTokenUser> {
    String createToken(SysUserDetails sysUserDetails);

    Optional<SysTokenUser> findByUserId(Integer userId);
}
